package com.cmonbaby.hotfix.demo;

import android.app.Application;
import android.content.Context;

import com.cmonbaby.hotfix.FixDexUtils;

public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        // 加载热修复Dex文件
        FixDexUtils.loadFixedDex(base);
    }
}
